home *** CD-ROM | disk | FTP | other *** search
/ Champak 28 / Volume 28 - JOGO DISK .iso / Games / barbie_is_hungry.swf / scripts / DefineSprite_509 / frame_3 / DoAction.as
Text File  |  2006-11-13  |  710b  |  44 lines

  1. var ┬º\x01┬º = 629;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 629)
  5.    {
  6.       set("\x01",eval("\x01") - 114);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") != 515)
  12.       {
  13.          break;
  14.       }
  15.       set("\x01",eval("\x01") - 251);
  16.       if(┬º┬ºpop())
  17.       {
  18.          set("\x01",eval("\x01") + 404);
  19.       }
  20.    }
  21. }
  22. if(eval("\x01") == 264)
  23. {
  24.    set("\x01",eval("\x01") + 404);
  25.    stopAllSounds();
  26. }
  27. else if(eval("\x01") == 668)
  28. {
  29.    set("\x01",eval("\x01") - 129);
  30.    stop();
  31.    if(random(2))
  32.    {
  33.       _global.food3_score = 10;
  34.    }
  35.    else
  36.    {
  37.       _global.food3_score = 15;
  38.    }
  39. }
  40. else if(eval("\x01") == 539)
  41. {
  42.    set("\x01",eval("\x01") - 539);
  43. }
  44.